import 'dart:collection';

class ClubDynamicModel {
  String? message;
  String? messageTime;
  String? userAvatarUrl;
  String? nickName;

  ClubDynamicModel(
      {this.message, this.messageTime, this.userAvatarUrl, this.nickName});

  ClubDynamicModel.fromJson(Map<String, dynamic> json) {
    message = json['message'];
    messageTime = json['messageTime'];
    userAvatarUrl = json['userAvatarUrl'];
    nickName = json['nickName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = HashMap();
    data['message'] = message;
    data['messageTime'] = messageTime;
    data['userAvatarUrl'] = userAvatarUrl;
    data['nickName'] = nickName;
    return data;
  }
}